package edu.psu.geovista.app.hce.clustering.model;

import javax.datamining.JDMException;
import javax.datamining.clustering.Cluster;
import java.util.Set;
import java.util.Vector;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 *
 * @author: jin Chen 
 * @date: May 30, 2005$
 * @version: 1.0
 */

public interface BCluster {
    public int[] getIds();
    public void setIds(int[] ids);
    public int[] computeIds();
    public Cluster[] getChildren() throws JDMException;

    public BCluster getCls1();

    public void setCls1(BCluster cls1);

    public BCluster getCls2();

    public void setCls2(BCluster cls2);

    public void setSimilarity(float level);

    public float getSimilarity();

    public int getNumOfleaf();

     public int getIndex() ;

    public void setIndex(int index) ;
    public Vector getAttrVector();

    public void setAttrVector(Vector attrVector) ;
    public Set getDataIndexSet();
    public Cluster getJDMCluster();
}
